package com.turing.usdtpay.mvp.contract;

import android.app.Activity;

import com.turing.usdtpay.entity.AccountData;
import com.turing.usdtpay.entity.PayData;
import com.turing.usdtpay.mvp.presenter.BasePresenter;
import com.turing.usdtpay.mvp.view.BaseView;

/**
 * @作者：JAY
 * @创建时间：2019/11/5 15:08
 * @描述：
 **/
public class AccountContract {

    public interface View extends BaseView<Present> {
        public void loginOutSuccess();

        public void onSuccess(AccountData data);

        public void getTel(String tel);

        public void onFail(String msg);

        public void getPayInfoSuccess(PayData data);
    }

    public interface Present extends BasePresenter {
        public void loginOut(Activity activity);

        public void getUserInfo(Activity activity);

        public void getTel(Activity activity);

        public void getPayInfo(Activity activity);
    }
}
